package 作业.Var1029.Test1;

//飞机和风筝
public class Aircraft implements Flight {
    String feiji;
    String fenzheng;

    public Aircraft(String feiji, String fenzheng) {
        this.feiji = feiji;
        this.fenzheng = fenzheng;
    }

    @Override
    public String getflight() {
        return feiji + fenzheng;
    }
}
